﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH5_2103A.Shopping.TEntityFrame.IRepository
{
    /// <summary>
    /// U《Update》:修改仓储接口
    /// </summary>
    public interface IUpdateRepository<TEntity> where TEntity : class
    {
        /// <summary>
        /// 修改一条数据
        /// </summary>
        /// <param name="entityFrame"></param>
        void Update(TEntity entityFrame);

        /// <summary>
        /// 修改多条数据(批量修改)
        /// </summary>
        /// <param name="entityFrameList"></param>
        void Update(List<TEntity> entityFrameList);
    }
}
